package com.ihr360.cnb.module.common.service.fallback;

import com.ihr360.cnb.module.common.service.EnumService;
import com.ihr360.commons.exception.Ihr360Exception;
import com.ihr360.commons.vo.DataAndLabel;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author Stone.Shi
 * @description
 * @date 2018-02-07 09:54:08.
 */
@Component
public class EnumServiceFallback implements EnumService {
    @Override
    public List<DataAndLabel> getEnumIdCardType() {
        throw new Ihr360Exception("", "内部服务调用失败");
    }
}
